home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 40
/
Vol 40.iso
/
games
/
the_lord.swf
/
scripts
/
DefineSprite_246
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-04-25
|
2KB
|
63 lines
var §\x01§ = 793;
while(true)
{
if(eval("\x01") == 793)
{
set("\x01",eval("\x01") + 78);
§§push(true);
}
else
{
if(eval("\x01") == 824)
{
set("\x01",eval("\x01") - 459);
break;
}
if(eval("\x01") != 871)
{
if(eval("\x01") == 365)
{
set("\x01",eval("\x01") + 545);
z = 0;
step = 0;
step2 = 0;
n = 9;
update = function()
{
z += 10;
this._visible = true;
step2 -= (step2 - step) / 20;
var _loc2_ = 1;
while(_loc2_ <= n)
{
var _loc3_ = step2 * Math.sin((3.141592653589793 * z + _loc2_ * 90) / 180);
this["c" + _loc2_]._y = _loc3_;
_loc2_ = _loc2_ + 1;
}
if(step == -1 && Math.abs(step2 - step) < 0.01)
{
delete this.onEnterFrame;
}
};
this.onRollOver = function()
{
step = 5;
this.onEnterFrame = update;
_root.soundArc2.playSound("fire2");
};
this.onRollOut = function()
{
step = 0;
};
break;
}
break;
}
set("\x01",eval("\x01") - 47);
if(§§pop())
{
set("\x01",eval("\x01") - 459);
}
}
}